<!DOCTYPE html>
<html dir="ltr" lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>Stencil Component Starter</title>
    <style>
      html,
      body {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
      }
      * {
        margin: 0px;
        padding: 0px;
      }
    </style>
    <!-- <link rel="stylesheet" href="./build/ibz-exp-calendar.css" /> -->
    <!-- <link rel="stylesheet" href="./assets/css/reset.css" /> -->

    <script type="module" src="./build/ibz-exp-calendar.esm.js"></script>
    <script nomodule src="./build/ibz-exp-calendar.js"></script>
  </head>
  <body>
    <ibz-exp-calendar id='calendar'></ibz-exp-calendar>
    <!-- <script src="./assets/examples/js/index.cjs"></script> -->
  </body>
</html>
<script>
  var calendar =  document.getElementById('calendar');
  calendar.startDate = '2021-06-15';
  calendar.endDate = '2021-06-20';
  calendar.maxTimeSpan = 7;
  calendar.theme = 'blue';
  calendar.size = 'small';
  calendar.autoComplete = true;
  calendar.addEventListener('select-change',(event) => {
    console.log('监听到：'+ JSON.stringify(event.detail));
  });
</script>
